package com.hgkj.cloud.base.service.impl;

import com.hgkj.cloud.base.dao.SysTableFactorDictMapper;
import com.hgkj.cloud.base.domain.SysTableFactorDict;
import com.hgkj.cloud.base.service.SysTableFactorDictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class SysTableFactorDictServiceImpl implements SysTableFactorDictService {

    @Autowired
    private SysTableFactorDictMapper sysTableFactorDictMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return sysTableFactorDictMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(SysTableFactorDict record) {
        return sysTableFactorDictMapper.insert(record);
    }

    @Override
    public int insertSelective(SysTableFactorDict record) {
        return sysTableFactorDictMapper.insertSelective(record);
    }

    @Override
    public SysTableFactorDict selectByPrimaryKey(Integer id) {
        return sysTableFactorDictMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(SysTableFactorDict record) {
        return sysTableFactorDictMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(SysTableFactorDict record) {
        return sysTableFactorDictMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<SysTableFactorDict> listTableAnalyzeTables(Map<String, Object> map) {
        return sysTableFactorDictMapper.listTableAnalyzeTables(map);
    }

    @Override
    public List<SysTableFactorDict> listTableAnalyzeFactors(Map<String, Object> map) {
        return sysTableFactorDictMapper.listTableAnalyzeFactors(map);
    }
}
